﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="frm_CustomerList.aspx.cs" Inherits="SaleSystem.BaseData.frm_CustomerList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>工艺美术类别管理</title>
</head>
<body>
<form id="form1" runat="server">
    <div>
    <ext:PageManager runat="server" ID="PageManager1" />
    <ext:Toolbar runat="server" ID="toolbar1">
        <Items>
            <ext:Button runat="server" ID="bnSearch" Text="查询" Icon="Reload" Type="Submit" OnClick="bnSearch_Click" ></ext:Button>
            <ext:Button runat="server" ID="bnNew" Text="新增" Icon="Add"  ></ext:Button>           
        </Items>    
    </ext:Toolbar> 
    <ext:Form runat="server" ID="Form2" EnableBackgroundColor="true" ShowHeader="false" BodyPadding="10px" ShowBorder="false">
        <Rows>
            <ext:FormRow>
            <Items>
            <ext:TextBox runat="server" ID="tb_Cust_Code" Label="编码" Width="200px" TabIndex="1"></ext:TextBox>
                    <ext:TextBox runat="server" ID="tb_Cust_Name" Label="职务名称" Width="200px" TabIndex="2"></ext:TextBox>
                    </Items>
            </ext:FormRow>
        </Rows>
    </ext:Form>
    <ext:Grid runat="server" ID="gv_List" EnableBackgroundColor="true" Title="协会职务信息列表"   IsDatabasePaging="true"
            DataKeyNames="AssociationId,AssociationName" EnableRowNumber="true" 
            onrowcommand="gv_List_RowCommand" AllowPaging="true" 
            onpageindexchange="gv_List_PageIndexChange">
    <Columns>
        <ext:BoundField ColumnID="Cust_Code" DataField="AssociationId" DataTooltipField="AssociationId" HeaderText="编码" Width="100px" />
        <ext:BoundField ColumnID="Cust_Name" DataField="AssociationName" DataTooltipField="AssociationName" HeaderText="名称"   Width="400px"/>
        <ext:BoundField ColumnID="CustomerType" DataField="AssociationCost" DataTooltipField="AssociationCost" HeaderText="会费" Width="80px"/>
        
         <ext:LinkButtonField ColumnID="eidt" CommandName="edit"  Text="编辑" HeaderText="编辑" Width="60px" />       
        <ext:LinkButtonField ColumnID="delete" CommandName="Delete"  ConfirmIcon="Question" ConfirmText="确认删除此信息？" Text="删除" HeaderText="删除" Width="60px"/>
    </Columns>
    </ext:Grid>
    </div>
    <ext:Window runat="server" ID="win_Content" Popup="false" EnableIFrame="true"  EnableConfirmOnClose="true" Title="新增客户" IFrameUrl="about:blank" Target="Parent" IsModal="true" Width="500px" Height="500px"></ext:Window>
    </form>
</body>
</html>
